﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using br.com.SistemaChamados.DAO;
using br.com.SistemaChamados.Enum;

namespace br.com.SistemaChamados.DAO
{
    public abstract class GenericDAO<T> : IDao<T>
    {
        public virtual List<T> Select()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public virtual T Select(int objectId)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public virtual EnumCRUDState Update(T updatableObject)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public virtual EnumCRUDState Delete(T deletableObject)
        {
            throw new Exception("The method or operation is not implemented.");
        }
    }
}